Theme Button Adornment Constants
The
ThemeButtonAdornment
enumeration defines masks your application can use in the
ThemeButtonDrawInfo
structure to specify that button controls are drawn with the appropriate human interface characteristics. The
ThemeButtonAdornment
constants are available with Appearance Manager 1.1 and later.
enum {
kThemeAdornmentNone = 0,
kThemeAdornmentDefault = (1 << 0),
kThemeAdornmentFocus = (1 << 2),
kThemeAdornmentRightToLeft = (1 << 4),
kThemeAdornmentDrawIndicatorOnly = (1 << 5)
};
typedef UInt16 ThemeButtonAdornment;
Constant descriptions
-
kThemeAdornmentNone
-
If no bits are set, the button is drawn with no adornment.
-
kThemeAdornmentDefault
-
If the bit specified by this mask is set, a default button ring is drawn. This constant applies to push button controls only.
-
kThemeAdornmentFocus
-
If the bit specified by this mask is set, a focus ring is drawn.
-
kThemeAdornmentRightToLeft
-
If the bit specified by this mask is set, the button is drawn in a right-to-left orientation.
-
kThemeAdornmentDrawIndicatorOnly
-
If the bit specified by this mask is set, only the button is drawn, not its label. This characteristic applies to radio buttons, checkboxes, and disclosure triangles.
© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)